[NAME]
(John Drake)
R in my research to:
The workshop series consists of four half day workshops each focusing on a different part of the research process
R and RStudio (Today)RYou
Instructor
You should be able to…
Topics
R and RStudio?Introduction to with tidyverse with code along
Break
Troubleshooting
Exploring data in groups
Wrap Up
R is a free, open source programming language with a pre-set functionality (base R) R packages which are collections of functions and data sets developed by the community.R programming easier by:
Let's open today's exercise by clicking on W1_Exercise.Rproj in the W1_Exercise folder.
RStudio should automatically open from here.
%>%) to connect data (object) to verbs (functions). The tidyverse package is designed to make it easy to install and load core packages from the tidyverse in a single command.
tidyverse package. This can be done by clicking on buttons in Rstudio or from the console using install.packages()W1_Exercise.Rmd file#install all the packages in the tidyverse
install.packages("tidyverse")
library().#load tidyverse library
library()
Switch over to W1_Exercise.Rmd
?function() to accessPackages have a vignette and/or reference manual on cran.r-project.org
People often make their own tutorials too
First, try to understand the error message. It can be very helpful.
Let's work in small groups (max [X])
W1_Exercise.Rmd fileMore instructions in the file.
Today
dplyr package
ggplot2 packageNext